package com.ysl.netty.domain;

/**
 * @author 姚善利
 * @classname com.ysl.netty.domain
 * @description
 * @date 2022/7/11 10:41
 */
public class SentBody extends BaseBean{
    //String服务端定义功能接口唯一标识（可以是用户身份token）
    private String key;
    //消息类型  login  /  ping
    private String type;
    //Long时间戳13位
    private Long timestamp;
    //Map请求传递的参数集合
    private String data;

    public String getKey() {
        return key;
    }

    public void setKey(String key) {
        this.key = key;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public Long getTimestamp() {
        return timestamp;
    }

    public void setTimestamp(Long timestamp) {
        this.timestamp = timestamp;
    }

    public String getData() {
        return data;
    }

    public void setData(String data) {
        this.data = data;
    }

    @Override
    public Byte code() {
        return null;
    }
}
